﻿'************************************************************************************************************************
'* Name:   DtoWorkOrder
'* Description: Data Transfer Object to hold the informations that are required to print Work Order report
'* Created On:  03-Nov-2010
'* Created By:  Senthilnathan karuppaiah
'* Last Modified On:
'* Last Modified By:
'* Last Modified Reason:
'************************************************************************************************************************
''' <summary>
''' GUI Class for all SLA related report generation. This acts like a service and triggers the required action.
''' This does not hold any business logic except form validations
''' </summary>
''' <remarks></remarks>
Public Class DtoWorkOrder

    #Region "Fields"

    Private _Branch As String
    Private _Business_Unit As String
    Private _Complete_Date As DateTime
    Private _Cost_Code As String
    Private _Customer As String
    Private _Description As String
    Private _Equiplocation As String
    Private _Failure_Code As String
    Private _Failure_Code_Description As String
    Private _Initial_Priority As String
    Private _Maintenance_Team As String
    Private _Mechanic As String
    Private _Phase_Code As String
    Private _Phase_Description As String
    Private _Planned_Completion_Date As DateTime
    Private _Request_Date As DateTime
    Private _Revised_Priority As String
    Private _Scheduled_Start As DateTime
    Private _Status_Description As String
    Private _Std_Parts As String
    Private _Std_Parts_Description As String
    Private _Supervisor As String
    Private _Unit_Description As String
    Private _Unit_Number As String
    Private _WorkOrderType As String = String.Empty
    Private _Work_Order_Description As String
    Private _Work_Order_Number As String
    Private _Work_Order_Status As String

    #End Region 'Fields

    #Region "Properties"

    Public Property Branch() As String
        Get
            Return _Branch
        End Get
        Set(ByVal value As String)
            _Branch = value
        End Set
    End Property

    Public Property Business_Unit() As String
        Get
            Return _Business_Unit
        End Get
        Set(ByVal value As String)
            _Business_Unit = value
        End Set
    End Property

    Public Property Complete_Date() As DateTime
        Get
            Return _Complete_Date
        End Get
        Set(ByVal value As DateTime)
            _Complete_Date = value
        End Set
    End Property

    Public Property Cost_Code() As String
        Get
            Return _Cost_Code
        End Get
        Set(ByVal value As String)
            _Cost_Code = value
        End Set
    End Property

    Public Property Customer() As String
        Get
            Return _Customer
        End Get
        Set(ByVal value As String)
            _Customer = value
        End Set
    End Property

    Public Property Description() As String
        Get
            Return _Description
        End Get
        Set(ByVal value As String)
            _Description = value
        End Set
    End Property

    Public Property Equiplocation() As String
        Get
            Return _Equiplocation
        End Get
        Set(ByVal value As String)
            _Equiplocation = value
        End Set
    End Property

    Public Property Failure_Code() As String
        Get
            Return _Failure_Code
        End Get
        Set(ByVal value As String)
            _Failure_Code = value
        End Set
    End Property

    Public Property Failure_Code_Description() As String
        Get
            Return _Failure_Code_Description
        End Get
        Set(ByVal value As String)
            _Failure_Code_Description = value
        End Set
    End Property

    Public Property Initial_Priority() As String
        Get
            Return _Initial_Priority
        End Get
        Set(ByVal value As String)
            _Initial_Priority = value
        End Set
    End Property

    Public Property Maintenance_Team() As String
        Get
            Return _Maintenance_Team
        End Get
        Set(ByVal value As String)
            _Maintenance_Team = value
        End Set
    End Property

    Public Property Mechanic() As String
        Get
            Return _Mechanic
        End Get
        Set(ByVal value As String)
            _Mechanic = value
        End Set
    End Property

    Public Property Phase_Description() As String
        Get
            Return _Phase_Description
        End Get
        Set(ByVal value As String)
            _Phase_Description = value
        End Set
    End Property

    Public Property Planned_Completion_Date() As DateTime
        Get
            Return _Planned_Completion_Date
        End Get
        Set(ByVal value As DateTime)
            _Planned_Completion_Date = value
        End Set
    End Property

    Public Property Request_Date() As DateTime
        Get
            Return _Request_Date
        End Get
        Set(ByVal value As DateTime)
            _Request_Date = value
        End Set
    End Property

    Public Property Revised_Priority() As String
        Get
            Return _Revised_Priority
        End Get
        Set(ByVal value As String)
            _Revised_Priority = value
        End Set
    End Property

    Public Property Scheduled_Start() As DateTime
        Get
            Return _Scheduled_Start
        End Get
        Set(ByVal value As DateTime)
            _Scheduled_Start = value
        End Set
    End Property

    Public Property Status_Description() As String
        Get
            Return _Status_Description
        End Get
        Set(ByVal value As String)
            _Status_Description = value
        End Set
    End Property

    Public Property Std_Parts() As String
        Get
            Return _Std_Parts
        End Get
        Set(ByVal value As String)
            _Std_Parts = value
        End Set
    End Property

    Public Property Std_Parts_Description() As String
        Get
            Return _Std_Parts_Description
        End Get
        Set(ByVal value As String)
            _Std_Parts_Description = value
        End Set
    End Property

    Public Property Supervisor() As String
        Get
            Return _Supervisor
        End Get
        Set(ByVal value As String)
            _Supervisor = value
        End Set
    End Property

    Public Property Unit_Description() As String
        Get
            Return _Unit_Description
        End Get
        Set(ByVal value As String)
            _Unit_Description = value
        End Set
    End Property

    Public Property Unit_Number() As String
        Get
            Return _Unit_Number
        End Get
        Set(ByVal value As String)
            _Unit_Number = value
        End Set
    End Property

    Public Property WorkOrderType() As String
        Get
            Return _WorkOrderType
        End Get
        Set(ByVal value As String)
            _WorkOrderType = value
        End Set
    End Property

    Public Property Work_Order_Description() As String
        Get
            Return _Work_Order_Description
        End Get
        Set(ByVal value As String)
            _Work_Order_Description = value
        End Set
    End Property

    Public Property Work_Order_Number() As String
        Get
            Return _Work_Order_Number
        End Get
        Set(ByVal value As String)
            _Work_Order_Number = value
        End Set
    End Property

    Public Property Work_Order_Status() As String
        Get
            Return _Work_Order_Status
        End Get
        Set(ByVal value As String)
            _Work_Order_Status = value
        End Set
    End Property

    #End Region 'Properties

End Class